//设备相关接口的管理
import $http from '@/service/request.js'


//获取最新版本
//接口：/versions/getLatestVersion
//GET
export const _getLatestVersion = () =>{
	return $http.request({
		url:'/version/getLatestVersion',
		method:'GET',
		header:{
			"Content-Type":"application/json"
		},
	})
}

export const _updateAndGetLatestVersion = () =>{
	return $http.request({
		url:'/version/updateAndGetLatestVersion',
		method:'GET',
		header:{
			"Content-Type":"application/json"
		},
	})
}
